home *** CD-ROM | disk | FTP | other *** search
/ Aminet 49 / Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso / Aminet / util / libs / ttrender.lha / ttrender-2.0 / Developer / source / sfnt / ttsbit.h < prev   
Encoding:
C/C++ Source or Header  |  2002-04-06  |  2.1 KB  |  60 lines

  1. /***************************************************************************/
  2. /*                                                                         */
  3. /*  ttsbit.h                                                               */
  4. /*                                                                         */
  5. /*    TrueType and OpenType embedded bitmap support (specification).       */
  6. /*                                                                         */
  7. /*  Copyright 1996-2001 by                                                 */
  8. /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
  9. /*                                                                         */
  10. /*  This file is part of the FreeType project, and may only be used,       */
  11. /*  modified, and distributed under the terms of the FreeType project      */
  12. /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
  13. /*  this file you indicate that you have read the license and              */
  14. /*  understand and accept it fully.                                        */
  15. /*                                                                         */
  16. /***************************************************************************/
  17.  
  18.  
  19. #ifndef __TTSBIT_H__
  20. #define __TTSBIT_H__
  21.  
  22.  
  23. #include <ft2build.h>
  24. #include "ttload.h"
  25.  
  26.  
  27. FT_BEGIN_HEADER
  28.  
  29.  
  30.   FT_LOCAL FT_Error
  31.   TT_Load_SBit_Strikes( TT_Face    face,
  32.                         FT_Stream  stream );
  33.  
  34.   FT_LOCAL void
  35.   TT_Free_SBit_Strikes( TT_Face  face );
  36.  
  37.  
  38.   FT_LOCAL FT_Error
  39.   TT_Set_SBit_Strike( TT_Face    face,
  40.                       FT_Int     x_ppem,
  41.                       FT_Int     y_ppem,
  42.                       FT_ULong  *astrike_index );
  43.  
  44.   FT_LOCAL FT_Error
  45.   TT_Load_SBit_Image( TT_Face           face,
  46.                       FT_ULong          strike_index,
  47.                       FT_UInt           glyph_index,
  48.                       FT_UInt           load_flags,
  49.                       FT_Stream         stream,
  50.                       FT_Bitmap        *map,
  51.                       TT_SBit_Metrics  *metrics );
  52.  
  53.  
  54. FT_END_HEADER
  55.  
  56. #endif /* __TTSBIT_H__ */
  57.  
  58.  
  59. /* END */
  60.